package com.yggdrasil.world;

import com.yggdrasil.graphics.Drawable;

public abstract class Character extends Drawable {

	int faction;
	String name;
	int hp;

	public boolean isAlive() {
		if (hp <= 0)
			return false;
		else
			return true;
	}
	
	public int getHp() {
		return hp;
	}

	public void addToX(int dx) {
		x += dx;
	}

	public void addToY(int dy) {
		y += dy;
	}

}
